
import layout from '@/layout/'

const meta = { auth: true,toolbar:false }

export default {
    path: '/board',
    name: 'board',
    meta,
    redirect: { name: 'board-text' },
    component: layout,
    children: (pre => [
        {
            path: 'text',
            name: `${pre}text`,
            component: () => import('@/pages/board/text'),
            meta: { ...meta, title: '发布到我的主页' }
        },
    ])('board-')
}